package com.bookShop.entity;


import java.io.Serializable;



public class CartItem implements Serializable {

	private static final long serialVersionUID = 1L;

	private Book book;
	private int number;
	
	public CartItem() {
	}
	public CartItem(Book book, int number) {
		this.book = book;
		this.number = number;
	}
	public Book getBook() {
		return book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
